package com.xiaomi.service;

import com.xiaomi.entity.Rule;
import com.xiaomi.entity.Vehicle;

import java.util.List;

public interface RuleService {
    List<Rule> getRulesByBatteryType(String batteryType);

    void addRule(Rule rule);

    void deleteRule(Long id);

    void updateRule(Rule rule);

    Rule getRuleById(Long id);

    List<Rule> getAllRules();

    List<String> getAllBatteryTypes();

    List<Rule> getRulesByBatteryTypeFromDB(String batteryType);
}
